/*
 * DTOCliente.h
 *
 *  Created on: Oct 23, 2011
 *      Author: gonzalo
 */

#ifndef DTOCLIENTE_H_
#define DTOCLIENTE_H_

#include "DTO.h"

enum ClientStatus {CONNECTED,INFORM,REFRESH,DISCONECTED,SERVER_SHUTDOWN};

class DTOCliente: public DTO {
public:
	DTOCliente(std::string& aDeserealizar,std::string owner);
	DTOCliente(std::string owner,std::string clienteId,ClientStatus status,int posX = 0,int posY = 0,int angle = 0);
	virtual ~DTOCliente();

	virtual std::string serializar();

	std::string getClientId();
	ClientStatus getStatus();
	int getPosX();
	int getPosY();
	int getAngle();


protected:

	virtual void deserializar(std::string& string);
private:
	ClientStatus status;
	std::string clienteId;
	int posX;
	int posY;
	int angle;
};

#endif /* DTOCLIENTE_H_ */
